package com.example.auth.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.auth.entity.SysRoleEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 角色
 *
 * @author yang
 * @date 2021-08-23 23:44:11
 */
@Mapper
public interface SysRoleMapper extends BaseMapper<SysRoleEntity> {

    List<SysRoleEntity> listRolesByUserId(@Param("userId") String userId);
}